<template>
    <view class="wh100">
		<web-view :src="url"></web-view>
    </view>
</template>

<script>
    export default {
		onLoad: function (option) { //option为object类型，会序列化上个页面传递的参数\
			this.url = option.url
			// uni.setNavigationBarTitle({
			//     title: option.title ? option.title : ''
			// });
		},
        data() {
            return {
				url: '',
                webviewStyles: {
                    progress: {
                        color: '#FF3333'
                    }
                }
            }
        }
    }
</script>

<style>

</style>